package com.medical.Service;

import com.medical.DTO.AppointmentsDTO;
import com.medical.DTO.AppointmentsPageDTO;
import com.medical.result.PageResult;

public interface AppointmentsService {
    //添加预约
    void addAppointments(AppointmentsDTO appointments);
    
    //更新预约
    void updateAppointments(AppointmentsDTO appointments);


    //删除预约
    void deleteAppointments(Integer id);
    
    //通过id查询预约
    AppointmentsDTO getById(Integer id);

    //更新状态
    void updateStatus(Integer id, String status);

    PageResult pageQuery(AppointmentsPageDTO appointments);
}
